package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.Path")
@Data
@TableName(value = "path")
public class Path {
    /**
     * 路径id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "路径id")
    private Long id;

    /**
     * 读取的路径
     */
    @TableField(value = "reader_path")
    @ApiModelProperty(value = "读取的路径")
    private String readerPath;

    /**
     * 写入的路径
     */
    @TableField(value = "writer_path")
    @ApiModelProperty(value = "写入的路径")
    private String writerPath;

    /**
     * 描述
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "描述")
    private String name;
}